package com.zatech.cgnci.project.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
public class PaymentInformationUpdateDTO {

    @ApiModelProperty("自增编号")
    @NotBlank(message = "Id编号不能为空")
    private Long id;

    @ApiModelProperty("流水单号")
    private String transactionId;

    @ApiModelProperty("付款账户")
    private String payingAccount;

    @ApiModelProperty("付款币种")
    private String currency;

    @ApiModelProperty("付款金额")
    private BigDecimal amount;

    @ApiModelProperty("汇率")
    private BigDecimal fxRate;

    @ApiModelProperty("实收金额")
    private BigDecimal actualAmount;

    @ApiModelProperty("汇兑损益")
    private BigDecimal fxGainOrLoss;

    @ApiModelProperty("银行手续费")
    private BigDecimal commission;

    @ApiModelProperty("营业外收入")
    private BigDecimal otherIncome;

    @ApiModelProperty("付款日期")
    private String paymentDate;
}
